<div class="row">
    <div class="alert alert-danger col-lg-4" ng-show="error">
        There was a problem loggin in .prease try again.
    </div>
</div>

<div class="row">
    <form role="form" ng-submit="login()" class="col-sm-6 col-lg-4">
        <div class="form-group">
            <label for="username">Username</label>
            <input type="text" placeholder="user/admin" class="form-control"
            id="username" ng-model="credentials.username">
        </div>

        <div class="form-group">
            <label for="password">Password</label>
            <input type="password" placeholder="123" class="form-control"
            id="password" name="password" ng-model="credentials.password">

        </div>
        <button type="submit" class="btn btn-primary">submit</button>





    </form>


</div>